﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if ((Session["MEMBER"] == null)||(string.IsNullOrEmpty(((MySkiPatrolSite.MembershipSvc.Member)Session["MEMBER"]).ID))) {
%>
        [ <%: Html.ActionLink("Log On", "LogOn", "Account") %> ]
<%
    }
    else {
        string memberName = ((MySkiPatrolSite.MembershipSvc.Member)Session["MEMBER"]).FullName;
%> 
        Welcome <b><%: memberName %></b>!
        [ <%: Html.ActionLink("Log Off", "LogOff", "Account") %> ]
<%
    }
%>
